<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->cfg['title'];?><?php if (!empty($this->htitle)) echo " - " . $this->htitle;?></title>
<link href="css/front.css" rel="stylesheet" type="text/css" />
<?php 
$arr = array("c_blue", "c_ora", "c_green", "c_purple");
$c_style = $arr[$this->minfo['style']];
?>
<link href="css/<?php echo $c_style;?>.css" rel="stylesheet" type="text/css"  id="css_style"/>
<link href="css/thickbox.css" rel="stylesheet" type="text/css"  id="css_style"/>
</head>

<body>
<div class="create_head_box">
	<div class="create_head w_980">
    	<div class="head_content"> 
        	<div class="con_bg "></div>       	
            <div class="con_txt ">
            	<h1 class="h1_title f_family f_normal" ><?php echo $this->minfo['name'];?></h1>
                <p class="p_txt">时间：<?php echo date("Y年m月d日",strtotime($this->minfo['startdate']))?>-<?php echo date("Y年m月d日",strtotime($this->minfo['enddate']))?></p>   
				<p class="p_txt">地点：<?php echo $this->minfo['address'];?></p>
            </div>            
      </div>
        <div class="head_pho">
        <!--  图片处理  -->
        <?php if (!empty($this->minfo['image'])){
        $ext = pathinfo ($this->minfo['image'], PATHINFO_EXTENSION);
        if (strtolower($ext) == 'swf'){
?>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="980" height="200">
    <param name="movie" value="<?php echo $this->baseUrl;?>/<?php echo $this->minfo['image'];?>" />
    <param name="quality" value="high"/>
    <param name="wmode" value="opaque"/>
    <param name="swfversion" value="6.0.65.0"/>
    <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="<?php echo $this->baseUrl;?>/<?php echo $this->minfo['image'];?>" width="980" height="200">
      <!--<![endif]-->
      <param name="quality" value="high"/>
      <param name="wmode" value="opaque"/>
      <param name="swfversion" value="6.0.65.0"/>
      <div>
        <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
        <h4><a href="<?php echo $this->baseUrl;?>/index.php">点击访问首页</a></h4>
    	<p><br /></p>
        <p><a href="http://www.adobe.com/go/getflashplayer">下载swf播放器</a></p>
      </div>
      <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
  </object>
<?php 
		}else{
			echo '<img src="' . $this->baseUrl . '/' . $this->minfo['image'] .'" width="980" height="200" />';
		}
}else{?>
        <img  id="head_pho_img" src="images/<?php echo $c_style;?>/create_head_bg.png" width="980" height="200" />
<?php }?>
        </div>
    </div>
    <div class="create_head_nav">  
    	<div class="w_980 meet_nav_bg meet_nav ">
            <div class="meet_nav_bg nav_l "></div>
            <ul class="mett_nav_ul">
                <li class="meet_nav_bg selected "><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'];?>">首 页</a></li>
                <?php $top = unserialize($this->minfo['top']);
                if (is_array($top)){
                	foreach($top as $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg';
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&id=' . $v['aid'];
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['filecid'];
                	else
                		$url = "#no";
                ?>
                <li><a href="<?php echo $url;?>"><?php echo $v['name'];?></a></li>
                <?php }}?>
            </ul>
            <div class="meet_nav_bg nav_r "></div>
            <div class="clear"></div>
            <div class="haed_login_visited create_login">
                <a href="<?php echo $this->baseUrl;?>/?a=logout" class="login_out f_r head_bg">注销</a>
              <div class="login_name f_r">欢迎您，<?php echo $this->uinfo['name'];?></div>
              <div class="clear"></div>
          </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>